#ifndef WS2812_H
#define WS2812_H

#include <stdio.h>
#include <stdint.h>
#include <string.h>

namespace ws2812
{
uint8_t ws2812b_init(void);
void ws2812b_write_one_frame(uint32_t rgb, uint8_t temp[48]);
uint8_t spi_write_cmd(uint8_t *buf, uint16_t len);
int write_color(int color);
};

#endif // WS2812_H
